package com.ruoyi.project.bid.domain.vo;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 行业
 *
 */
public class CategorySortVO implements Serializable {

    /** 父ID */
    private Long pid;

    /** ids */
    private List<Long> ids;

    @NotNull(message = "父PID不能为空")
    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    @NotNull(message = "行业ID集合不能为空")
    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    @Override
    public String toString() {
        return "CategorySortVO{" +
                "pid=" + pid +
                ", ids=" + ids +
                '}';
    }
}
